package com.ssyt.blog.core.sys.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ssyt.blog.core.common.BaseDao;
import com.ssyt.blog.core.sys.entity.Menu;
@Repository
public class MenuDao extends BaseDao<Menu,Integer>{

	public List<Menu> getMenu(Integer roleId) {
		
		return listEntityByHql("FROM Menu WHERE roleId=?", roleId);
	}

}
